package com.mvc.business.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

@Entity(name = "B_QUOTATION_ITEM")
public class QuotationItem extends BaseUnit {
	@NotNull
	private Integer	quotationId;
	private String	no;
	@NotNull
	private Double	title	= 1D;

	@NotNull
	private Double	unitPrice;

	@NotNull
	private Double	discountPrice;

	private String	material;
	private String	specification;

	public Integer getQuotationId() {
		return quotationId;
	}

	public void setQuotationId(Integer quotationId) {
		this.quotationId = quotationId;
	}

	public Double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Double getTitle() {
		return title;
	}

	public void setTitle(Double title) {
		this.title = title;
	}

	public Double getDiscountPrice() {
		return discountPrice;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public void setDiscountPrice(Double discountPrice) {
		this.discountPrice = discountPrice;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

}
